import React from 'react';
import './dj.less';
import API from '../../../api/index';
class Dj extends React.Component {
    state={
        hotDj:[]
    }
    render() {
        return <div className='dj_box'>

            <div className="side_nav">
                <span>热门主播</span>
            </div>
            <div className="djitem">
                <img src="http://p2.music.126.net/H3QxWdf0eUiwmhJvA4vrMQ==/1407374893913311.jpg?param=40y40" alt="" />
                <dl>
                    <dt><a href="#">陈立</a><span></span></dt>
                    <dd>心理学家、美食家陈立教授</dd>
                </dl>
            </div>
            <div className="djitem">
                <img src="http://p2.music.126.net/H3QxWdf0eUiwmhJvA4vrMQ==/1407374893913311.jpg?param=40y40" alt="" />
                <dl>
                    <dt><a href="#">陈立</a><span></span></dt>
                    <dd>心理学家、美食家陈立教授</dd>
                </dl>
            </div>
            <div className="djitem">
                <img src="http://p2.music.126.net/H3QxWdf0eUiwmhJvA4vrMQ==/1407374893913311.jpg?param=40y40" alt="" />
                <dl>
                    <dt><a href="#">陈立</a><span></span></dt>
                    <dd>心理学家、美食家陈立教授</dd>
                </dl>
            </div>
            <div className="djitem">
                <img src="http://p2.music.126.net/H3QxWdf0eUiwmhJvA4vrMQ==/1407374893913311.jpg?param=40y40" alt="" />
                <dl>
                    <dt><a href="#">陈立</a><span></span></dt>
                    <dd>心理学家、美食家陈立教授心理学家、美食家陈立教授心理学家、美食家陈立教授</dd>
                </dl>
            </div>
            <div className="djitem">
                <img src="http://p2.music.126.net/H3QxWdf0eUiwmhJvA4vrMQ==/1407374893913311.jpg?param=40y40" alt="" />
                <dl>
                    <dt><a href="#">陈立</a><span></span></dt>
                    <dd>心理学家、美食家陈立教授</dd>
                </dl>
            </div>
        </div>;
    }
    componentDidMount() {
        API.myIndex.hotDj().then(data=>{
           let result = data.data.list;
          // console.log(result)
           this.setState({
            hotDj:result.map(item=>{
                let hotObj = {
                    
                }
            })
           })
       });
   };

}
export default Dj